package com.tata.study.subject.infra.basic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tata.study.subject.infra.basic.entity.SubjectLiked;
import org.springframework.stereotype.Repository;

import java.util.LinkedList;
import java.util.List;

/**
 * 题目点赞表 表数据库访问层
 *
 * @author orange7u7
 * @since 2024-01-16 16:48:45
 */
@Repository
public interface SubjectLikedDao extends BaseMapper<SubjectLiked> {

    void batchInsert(LinkedList<SubjectLiked> subjectLikedLinkedList);

    int countByCondition(SubjectLiked subjectLiked);

    List<SubjectLiked> queryPage(SubjectLiked subjectLiked, int start, Integer pageSize);
}

